<?php
namespace app\controller\Admin;

use support\Request;
use support\Response;

class BlackCardController
{
    /**
     * 获取黑卡列表
     * @param Request $request
     * @return Response
     */
    public function list(Request $request)
    {
        $page = $request->input('page', 1);
        $limit = $request->input('limit', 15);
        $type = $request->input('type');
        $status = $request->input('status');

        // TODO: 实现黑卡列表查询逻辑
        $data = [
            'code' => 0,
            'msg' => 'success',
            'data' => [
                'list' => [],
                'total' => 0
            ]
        ];

        return json($data);
    }
} 